.layout-block{
    position: relative;
	float: left;
	overflow: auto;
}
.layout-block.horizontal{
    height: 100%;
}
.layout-block.vertical{
    width: 100%;
}

.layout-border{
    background: silver;
	float: left;
}
.layout-border.horizontal{
    height: 100%;
	width: 2px;
	margin: 0 0px;
    cursor: e-resize;
}
.layout-border.vertical{
    height: 2px;
	width: 100%;
	margin: 0px 0;
	cursor: n-resize;
}